public class Test {
    public static void main(String[] args) {
        SingleLinkedList list = new SingleLinkedList();
        list.addLast(1);
        list.addLast(2);
        list.addLast(3);
        list.addLast(4);
        list.addLast(4);
        list.addLast(5);
        list.addLast(6);
        list.display();
        System.out.println("=======");
        list.addIndex(4,45);
        list.display();
        System.out.println("=======");
        list.removeAllKey(4);
        list.display();
    }
}
